package com.quanyan.user.model.db;

import java.io.Serializable;
import java.util.Date;

public class TbTreasureBox implements Serializable {
    private Integer id;

    //宝箱名字
    private String name;

    //宝箱业务编码
    private String code;

    //宝箱说明
    private String remark;

    //规则：满足打开宝箱的领取蛋壳的数量
    private Long ruleEggShells;

    //鸟蛋的数量
    private Long reward;

    //宝箱等级 1 2 3
    private Byte level;

    //是否删除 0 正常 1 删除
    private Byte isDelete;

    private Date createTime;

    private Date updateTime;

    static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getRuleEggShells() {
        return ruleEggShells;
    }

    public void setRuleEggShells(Long ruleEggShells) {
        this.ruleEggShells = ruleEggShells;
    }

    public Long getReward() {
        return reward;
    }

    public void setReward(Long reward) {
        this.reward = reward;
    }

    public Byte getLevel() {
        return level;
    }

    public void setLevel(Byte level) {
        this.level = level;
    }

    public Byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    @Override
    public String toString() {
        return "TbTreasureBox{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", remark='" + remark + '\'' +
                ", ruleEggShells=" + ruleEggShells +
                ", reward=" + reward +
                ", level=" + level +
                ", isDelete=" + isDelete +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}